home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form frmMain
- BackColor = &H00C0C0C0&
- Caption = "VB3D - Test your 3d look"
- ClientHeight = 3195
- ClientLeft = 1845
- ClientTop = 1560
- ClientWidth = 5595
- Height = 3600
- Icon = VB3D.FRX:0000
- Left = 1785
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3195
- ScaleWidth = 5595
- Top = 1215
- Width = 5715
- Begin Frame Frame1
- BackColor = &H00C0C0C0&
- Caption = "3d - Test"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 1815
- Left = 630
- TabIndex = 2
- Top = 300
- Width = 4515
- Begin CommandButton Command1
- Caption = "Try Now"
- Height = 375
- Left = 1080
- TabIndex = 4
- Top = 960
- Width = 2265
- End
- Begin CheckBox Check1
- BackColor = &H00C0C0C0&
- Caption = "Activate 3d effects"
- Height = 435
- Left = 1080
- TabIndex = 3
- Top = 360
- Width = 2535
- End
- End
- Begin CommandButton Command3
- Caption = "Exit"
- Height = 435
- Left = 3240
- TabIndex = 1
- Top = 2460
- Width = 1635
- End
- Begin Label Label3
- BackStyle = 0 'Transparent
- Caption = "Comments/Suggestions: 100265,1725 @CompuServe.com"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00FF0000&
- Height = 615
- Left = 630
- TabIndex = 0
- Top = 2340
- Width = 1815
- End
- Option Explicit
- Sub Check1_Click ()
- Select Case Check1.Value
- Case 0
- Call CTL3D_STOP
- Case 1
- Call CTL3D_Start
- End Select
- End Sub
- Sub Command1_Click ()
- Select Case Check1.Value
- Case 0
- MsgBox "This message has a 'normal' look", 64, "Test 3d"
- Case 1
- If CTL3D_VB() Then
- MsgBox "This message has NOT '3d' look since you are in VB environment.", 64, "Test 3d"
- Else
- MsgBox "This message has a '3d' look", 64, "Test 3d"
- End If
- End Select
- End Sub
- Sub Command3_Click ()
- Call CTL3D_STOP
- Unload Me
- End
- End Sub
-